home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / wb-enhancement / swazblanker / programmer / include / clib / matrix_protos.h next >
C/C++ Source or Header  |  1996-02-26  |  5KB  |  121 lines

  1. #ifndef CLIB_MATRIX_PROTOS_H
  2. #define CLIB_MATRIX_PROTOS_H
  3. /*
  4. **      $Filename: clib/matrix_protos.h $
  5. **      $Release: 1.3 $
  6. **      $Revision: 39.1 $
  7. **
  8. **      C prototypes.
  9. **
  10. **      (C) Copyright 1993 Geert Uytterhoeven
  11. **      All Rights Reserved
  12. */
  13.  
  14.  
  15. BOOL    MX_MakePath( STRPTR name );
  16.  
  17. ULONG    MX_AddNodeSorted( struct List *l, struct Node *n );
  18. ULONG    MX_WindowHandler2(struct Window *w, struct Screen *sc, struct TagItem *tags, APTR VisInfo);
  19. void    MX_WindowHandler(struct Window *w, struct Screen *sc, struct TagItem *tags, APTR VisInfo);
  20. struct NewMenu *MX_MakeMenu_Localize(struct NewMenu *nm, struct Catalog *c, APTR catCompArr, APTR tags);
  21.  
  22. STRPTR    MX_GetCatalogStr(struct Catalog *catalog, ULONG *catcomparr, ULONG id);
  23.  
  24. void    MX_CloseWinSafe(struct Window *win);
  25. APTR    MX_DeCompressTrue(APTR buffer);
  26.  
  27. void    MX_RemakeGadgets(struct Window *win, struct Gadget *gad);
  28.  
  29. ULONG    MX_SendArexxString( STRPTR string, STRPTR portname, struct msgPort *replyPort);
  30. void    MX_ShowWindow(struct Window *w, struct Task *t);
  31. ULONG    MX_NewSortList(struct List *list, APTR hook, APTR tags, ULONG elements, ULONG data);
  32. void    MX_SortList(struct List *list);
  33. APTR    MX_LockWindow(struct Window *w);
  34. void    MX_UnlockWindow(struct Window *w, APTR lock);
  35. ULONG    MX_FileRequest2( STRPTR filenme, STRPTR title, APTR tags, APTR mxai, APTR aslreq, struct Window *w, ULONG len);
  36. void    MX_FreeFIB(struct FileInfoBlock *fib);
  37. struct    FileInfoBlock *MX_LoadFIB(ULONG type, ULONG typedata);
  38. void    MX_ProcessArexxPort(struct MsgPort *mp, APTR table, ULONG userdata);
  39. struct    MsgPort *MX_AddArexxPort( STRPTR name, APTR hook, ULONG data);
  40. void    MX_RemArexxPort( struct MsgPort *port, APTR hook, ULONG data);
  41.  
  42. ULONG    MX_NewSaveIFF( STRPTR filename, APTR tags);
  43. ULONG    MX_NewSaveIFFTags( STRPTR filename, unsigned long tag1Type, ... );
  44. ULONG    MX_NewLoadIFF( STRPTR filename, APTR tags);
  45. ULONG    MX_NewLoadIFFTags( STRPTR filename, unsigned long tag1Type, ... );
  46.  
  47. BPTR    MX_OpenPathNew( STRPTR name);
  48. APTR    MX_CompressTrue( APTR buffer, ULONG length);
  49. ULONG    MX_HexStrLong( STRPTR string);
  50. LONG    MX_ExamineDir( APTR hook, LONG data, BPTR lock);
  51. ULONG    MX_StrLen( APTR string);
  52. BOOL    MX_PatternMatch( STRPTR string, STRPTR pattern );
  53. ULONG    MX_TextFileToList( struct List *list, STRPTR filename, struct TagItem *tags );
  54. ULONG    MX_TextFileToListTags( struct List *list, STRPTR filename, unsigned long tag1Type, ... );
  55.  
  56. ULONG    MX_CurrentTime( void );
  57. void    MX_SoundID( STRPTR basename, STRPTR name);
  58.  
  59. APTR    MX_AllocVecStr( STRPTR string, ULONG attrs);
  60.  
  61. APTR    MX_AddVBlankNode( APTR tags);
  62. APTR    MX_AddVBlankNodeTags( unsigned long tag1Type, ... );
  63. void    MX_RemVBlankNode( APTR vbn);
  64.  
  65. ULONG    MX_DisplayRequest( STRPTR body, STRPTR buttons, APTR data);
  66. ULONG    MX_DisplayRequestWin( STRPTR body, STRPTR buttons, APTR data, struct Window *win);
  67. LONG    MX_RandomInRange( LONG min, LONG max );
  68.  
  69. /*
  70. APTR    MX_ReplaceVecStr( STRPTR string, APTR handle, ULONG attributes);
  71. */
  72.  
  73. STRPTR    MX_ReplaceVecStr( STRPTR string, APTR handle, ULONG attributes);
  74.  
  75. void    MX_FreeFont(struct TextAttr *textattr , APTR font, struct TagItem *tagList );
  76. void    MX_FreeFontTags(struct TextAttr *textattr , APTR font, unsigned long tag1Type, ... );
  77. APTR    MX_GetFontTags( struct TextAttr *textattr, unsigned long tag1Type, ... );
  78. APTR    MX_GetFont( struct TextAttr *textattr, struct TagItem *tagList );
  79.  
  80. ULONG    MX_FontWidth( struct TextAttr *textattr);
  81.  
  82. void    MX_FreeArgs( APTR MxArgLock);
  83. APTR    MX_ReadArgs( STRPTR template, APTR array, APTR wbmsg);
  84. APTR    MX_NewReadArgs( STRPTR template, APTR array, struct TagItem *tags);
  85. void    MX_StrCpyLen( STRPTR source, STRPTR dest, LONG len);
  86. void    MX_SoundID( STRPTR basename, STRPTR name);
  87. ULONG    MX_NewLoadIFF( STRPTR filename, struct TagItem *tags);
  88. ULONG    MX_NewPrefsWH( struct TagItem *tags);
  89. ULONG    MX_NewPrefsWHTags( unsigned long tag1Type, ... );
  90. APTR    MX_RawFormat( STRPTR format, APTR data , APTR dest);
  91. int    MX_Random(int range);
  92. void    MX_FreeListNodes(struct List *list, APTR *hook, LONG userdata);
  93.  
  94. struct    MxNameInfo *MX_AddNameInfoTagList( STRPTR, struct TagItem *);
  95. struct    MxNameInfo *MX_AddNameInfoTags( STRPTR, unsigned long tag1Type, ... );
  96. void    MX_RemNameInfo( struct MxNameInfo *);
  97. struct    MxNameInfo *MX_FindNameInfo( STRPTR );
  98.  
  99. BOOL    MX_SetConfigTags( unsigned long tag1Type, ... );
  100. BOOL    MX_GetConfigTags( unsigned long tag1Type, ... );
  101.  
  102. BOOL    MX_Log( STRPTR, STRPTR, ULONG, ULONG );
  103.  
  104. void    MX_UpdateGadgetsTagList( struct Gadget *gadget, struct TagItem *tags );
  105. void    MX_UpdateGadgetsTags( struct Gadget *gadget, unsigned long tag1Type, ... );
  106.  
  107. struct Hook *MX_InitHook( struct Hook *, APTR, ULONG );
  108.  
  109. LONG MX_ScreenModeInfoFromName( struct MXScreenMode *, STRPTR );
  110. LONG MX_ScreenModeNameTagList( STRPTR, struct MXScreenMode *, struct TagItem *);
  111. LONG MX_ScreenModeNameTags( STRPTR, struct MXScreenMode *, unsigned long tag1Type, ... );
  112.  
  113. LONG    MX_GetScreenNameTagList( struct MXScreenMode *, STRPTR, struct TagItem *);
  114. LONG    MX_GetScreenNameTags( struct MXScreenMode *, STRPTR, unsigned long tag1Type, ... );
  115.  
  116. LONG    MX_GetScreenInfo( struct MXScreenMode *, STRPTR );
  117.  
  118. void    MX_Test( void );
  119.  
  120. #endif  /* CLIB_MATRIX_PROTOS_H */
  121.